<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>二次料仓库</title>
    <link rel="stylesheet" href="../commonCss/reset.css">
    <link rel="stylesheet" href="../commonCss/element.css">
    <link rel="stylesheet" href="../css/printWarehouseTotal.css" media="screen">
    <link rel="stylesheet" href="../css/printWarehouseTotal.css" media="print">
</head>

<body>
    <div class="printWarehouseTotal" v-cloak>
        <div style="position: fixed; top: 50px; left: 50px;">
            <button  @click="prints" type="button" id="btn-print"
            style="background-color:#fff;border:1px solid #D7D7D7;border-radius:4px;padding:6px 20px;outline:none;cursor:pointer;">打印</button>
        </div>

        <div class="warehouse_info1_box" ref="printPage">
            <div class="container">
                <table style="width:100%"
                    v-loading="tbLoading"
                    element-loading-spinner="el-icon-loading"
                    element-loading-text="拼命加载中">

                    <thead>
                        <tr>
                            <th colspan="11"  style="font-size: 20px;padding-top:10px;position: relative;border-color: transparent;border-bottom-color: black;">
                                <span>成品仓库查询: 仓库汇总</span>
                                <span style="position: absolute; right:20px;bottom:0px; font-size: 15px;"> 共{{allpages}}页</span>
                            </th>
                        </tr>
                        <tr class="thStyle">
                            <th style="min-width:100px;">品名</th>
                            <th style="min-width:95px;">仓库</th>
                            <th style="min-width:90px;">浆纱缸号</th>
                            <th  style="min-width:90px;">自编缸号</th>
                            <th  style="min-width:90px;">匹数</th>
                            <th  style="min-width:50px;">码数</th>
                            
                        </tr>
                    </thead>


                    <tbody id="tdcontent">
                        <tr class="tdStyle" v-for="(item, index) of tableData.a" :key="index+ 'tableDataA'">
                            <td>{{item.name}}</td>
                            <td>{{item.cktx}}</td>
                            <td>{{item.pg}}</td>
                            <td>{{item.zibianganghao}}</td>
                            <td>{{item.xcpishu}}</td>
                            <td>{{item.xcma}}</td>
                        </tr>
                    </tbody>

                    
                    <tr class="tfStyle" v-for="(item, index) of tableData.b" :key="index+ 'tableDataB'">
                        <td colspan="3">
                            打印人：<span>{{item.printer}}</span>
                            打印时间：<span>{{item.printtime}}</span>
                        </td>
                        <td>合计：</td>
                        <td>{{item.sumpishu}}</td>
                        <td>{{item.summa}}</td>
                    </tr>
                </table>
            </div>
        </div>
    </div>
</body>

<script src="../commonJs/vue.min.js"></script>
<script src='http://dongtai.fsslpc.com/w/web/common/jquery.js'></script>
<script src="http://dongtai.fsslpc.com/w/Script/jQuery.print.min.js"></script>
<script src="../commonJs/common.js"></script>
<script src="../commonJs/element.js"></script>
<script src="../commonJs/vant.min.js"></script>
<script src="../js/printWarehouseTotal.js"></script>
</html>